Registry Guide for Windows Registry Guide for Windows
Part of the WinGuides Network
WinGuides Network and Software
Registry tweaks, tricks & hacks to optimize, enhance and secure Microsoft Windows.

Disable Run Commands Specified in the Registry (Windows 98/Me/2000/XP)
Category: Home > Security

Download this tweak with Tweak Manager!This tweak can be easily applied using WinGuides Tweak Manager.
Download a free trial now!

This restriction is used to disable the ability to run startup programs specified in the registry when Windows launches.

Open your registry and find the key below.

Create a new DWORD value for each of the optional values below depending on which Run function to stop and set the value to "1" to disable.

Restart Windows for change to take effect.

Registry Editor Example
|NameTypeData|
|(Default)REG_SZ(value not set)|
|DisableLocalMachineRunREG_DWORD0x00000001 (1)|
|DisableLocalMachineRunOnceREG_DWORD0x00000001 (1)|
|DisableCurrentUserRunREG_DWORD0x00000001 (1)|
|DisableCurrentUserRunOnceREG_DWORD0x00000001 (1)|
-
|HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Exp...|
-

Settings:
User Key: [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\
Explorer]

System Key: [HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies\
Explorer]

Name: DisableLocalMachineRun, DisableLocalMachineRunOnce, DisableCurrentUserRun, DisableCurrentUserRunOnce
Type: REG_DWORD (DWORD Value)
Value: (0 = enable run, 1 = disable run)

Related Tweaks

Disclaimer: Modifying the registry can cause serious problems that may require you to reinstall your operating system. We cannot guarantee that problems resulting from modifications to the registry can be solved. Use the information provided at your own risk.

Last Modified: December 19, 2001

 Return to Index Copyright © 1998-2003. All Rights Reserved.  License